{% extends "base.html" %}
{% load static %}

{% block title %}Account{% endblock %}

{% block fullcontent %}
	{% if user.is_authenticated %}
		<nav class="navbar navbar-default">
			<div class="container">
				<ul class="nav navbar-nav">
					<li><a href="{% url 'account_edit' %}">Settings</a></li>
					<li><a href="{% url 'account_api' %}">API access</a></li>
					{% if user.is_superuser %}
						<li><a href="{% url 'account_email' %}">E-Mail</a></li>
						<li><a href="{% url 'account_change_password' %}">Password</a></li>
					{% endif %}
					<li><a href="{% url 'socialaccount_connections' %}">Battle.net</a></li>
					<li><a href="{% url 'account_delete' %}">Delete account</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="{% url 'account_logout' %}">Sign out</a></li>
				</ul>
			</div>
		</nav>
	{% endif %}
	<div class="container">
		{% block content %}{% endblock %}
	</div>
{% endblock %}
